package cn.cw.liyebao.domain;

import cn.cw.liyebao.config.CustomLocatDateSerializer;
import cn.cw.liyebao.config.CustomLocatDateTimeSerializer;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author : caiwen
 * @date :2024/9/1
 * @Description
 */
@Data
@TableName(value = "t_account")
public class Account {
    private Long userId;
    private String accountDesc;
    private Integer accountType;
    private Double accountNum;
    private String weekStr;
    @JsonSerialize(using = CustomLocatDateTimeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
